package com.smartleanx.module.hrm.service.esign.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartleanx.framework.datapermission.core.annotation.DataPermission;
import com.smartleanx.framework.tenant.core.aop.TenantIgnore;
import com.smartleanx.module.hrm.dal.mysql.esign.HrmEEmpComponentsMapper;
import com.smartleanx.module.hrm.service.esign.service.HrmEEmpComponentsService;
import com.smartleanx.module.hrm.service.esign.temp.po.HrmEEmpComponents;
import org.springframework.stereotype.Service;

import javax.annotation.security.PermitAll;
import java.util.List;

/**
 * 员工合同填写字段Service实现
 *
 * @author xzq
 * @since 2025-07-22 10:54:04
 */
@Service
public class HrmEEmpComponentsServiceImpl extends ServiceImpl<HrmEEmpComponentsMapper, HrmEEmpComponents> implements HrmEEmpComponentsService {


    @Override
    @TenantIgnore
    public List<HrmEEmpComponents> getEmpComponentsList() {
        return list(new LambdaQueryWrapper<HrmEEmpComponents>()
        .eq(HrmEEmpComponents::getDataStatus,1)
        .orderByAsc(HrmEEmpComponents::getSortNo));
    }
}
